package com.yjd.comm.easycard.enums;




/**
 * <b>description</b>：易借卡 审核 状态<br>
 * <b>time</b>：2015-4-8上午11:24:00 <br>
 * <b>author</b>： SongJian
 */
public enum ECVerifyEnum {
	VERIFY_WAITE(0,"待审核"),
	VERIFY_CANNOT(1,"审核未通过"),
	VERIFY_NOcomplete(2,"资料提交不完整,需要补充"),
	VERIFY_OK(3,"审核通过")
//	UNFINISHED(0,"未完成"),
//	FINISHED(1,"完成");
	;
	private Integer value;
	private String description;

	private ECVerifyEnum(Integer value, String description) {
		this.value = value;
		this.description = description;
	}

	public Integer getValue() {
		return value;
	}

	public String getDescription() {
		return description;
	}

	public static ECVerifyEnum get(Integer value) {
		ECVerifyEnum[] enums = ECVerifyEnum.values();
		for (ECVerifyEnum enum1 : enums) {
			if (enum1.getValue().equals(value)) {
				return enum1;
			}
		}
		return null;
	}

	public static String getDesc(Integer value) {
		ECVerifyEnum enum1 = ECVerifyEnum.get(value);
		return enum1 != null ? enum1.getDescription() : null;
	}
	
}
